<div class="google_notice" style="margin-top: 30px; "> 
  <div style="margin-left: 100px;">uploaded files this session (<%= @files.count %>):</div>
</div>
<div class="base">
  <% form_for Request.new, :html => { :multipart => true } do |f| %>
<p>
    <div style="color: #999; float: left; margin-right:10px;">upload a new file: </div>
     <%= f.file_field :file %><%= f.submit "upload" %>
     </p>
   <% end %>
</div>

<% if @files and @files.count > 0 %>
<div class="files">
<br>
	<div class="base">  
	  <table style="width: 640px;">
        <tr>
			<td class="table_line"><b>name</td>
			<td class="table_line"><b>type</td>  		    		    
			<td class="table_line"><b>last updated</td>
			<td class="table_line"><b>download</td>  		    
		</tr>
	</table>		
    <%= render :partial => @files, :locals => { :offset => 0 } %> 

	</div>
        <br>
        <br>
</div>	
<% end %>
